extends Node2D

@onready var status=$界面/状态栏
@onready var player=$玩家

func _ready() -> void:
	status.setMaxHealth(player.maxHealth)
	status.updateHealth(player.health)
	player.healthChanged.connect(status.updateHealth)
